import {ajax,base} from './config'
export const list = params => { return ajax.getMinData({ url: `${base}api/goodsController/list.do`, params }); };
export const save = params => { return ajax.postData({ url: `${base}api/goodsController/save.do`, params }); };
export const update = params => { return ajax.postData({ url: `${base}api/goodsController/update.do`, params }); };
export const del = params => { return ajax.postData({ url: `${base}api/goodsController/del.do`, params }); };
export const getGood = params => { return ajax.getMinData({ url: `${base}api/goodsController/getGood.do`, params }); };